package ncov.model;

import java.io.Serializable;

/**
 * @author WuChangJian
 * @date 2020/5/30 20:28
 */
public class Result<T> implements Serializable {
    private boolean success;
    private String errMsg;
    private T data;

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getErrMsg() {
        return errMsg;
    }

    public void setErrMsg(String errMsg) {
        this.errMsg = errMsg;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
